# Copyright (c) 2023 by Azure
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.


# Weapons:

outfit "Aberrant Spiker"
	"display name" "アベラント・スパイカー"
	plural "アベラント・スパイカー"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 05020
	cost 1370000
	thumbnail "outfit/unknown"
	"mass" 23
	"outfit space" -23
	"weapon capacity" -23
	"gun ports" -1
	"unplunderable" 1
	weapon
		sprite "projectile/aberrant spike"
			"frame rate" 24
			"scale" 0.5
			"rewind"
		sound "minelayer"
		icon "icon/finisher"
		"fire effect" "blood" 20
		"live effect" "spiker trail" 10000
		"die effect" "spiker impact"
		"hit effect" "spiker impact"
		"inaccuracy" 7
		"reload" 90
		"firing energy" 4
		"firing heat" 6
		"firing fuel" 10
		"firing hull" 150
		"velocity" 15
		"lifetime" 700
		"acceleration" 1.45
		"drag" .21
		"turn" 1.3
		"homing"
			"throttle control"
		"optical tracking" 0.9
		"hit force" -1350
		"hull damage" 730
		"shield damage" 1270
		"corrosion damage" 3
		"missile strength" 31
	description "アベラントの多くの個体は、背に棘を生やしている。金属質のものも鉱物質のものも、脈絡なく寄せ集めたような材質でできている。この装置はその棘を武器として撃ち出すためのものらしいが、棘がどうやって自ら宇宙空間を進み、狙いを定めているのかは、ざっと調べたくらいでは見当もつかない。"

effect "spiker trail"
	sprite "effect/blood"
		"no repeat"
		"frame rate" 10
		"random start frame"
	"lifetime" 61
	"random angle" 20
	"random velocity" 6
	"random spin" 5
	"velocity scale" 0

effect "spiker impact"
	sprite "effect/explosion/pug/medium"
		"no repeat"
		"frame rate" 19
	sound "explosion medium"
	"lifetime" 30
	"random angle" 360
	"random frame rate" 5
	"random spin" 6
	"random velocity" .5
	"velocity scale" .4


outfit "Nucleolysis Beam"
	"display name" "核崩壊ビーム"
	plural "核崩壊ビーム"
	category "Guns"
	series "Guns"
	index 05040
	cost 1900000
	thumbnail "outfit/nucleolysis beam"
	"flotsam sprite" "effect/flotsam nucleolysis beam"
	"mass" 31
	"outfit space" -31
	"weapon capacity" -31
	"flotsam chance" 0.1
	"gun ports" -1
	"unplunderable" 1
	weapon
		sprite "projectile/nucleolysis"
			"frame rate" 15
		sound "nucleolysis"
		"hit effect" "acuit hit"
		"inaccuracy" .2
		"velocity" 420
		"lifetime" 1
		"reload" 1
		"firing energy" 4.2
		"firing heat" 1.5
		"shield damage" 0.8
		"hull damage" 1.6
		"heat damage" -9.1
		"fuel damage" 1.66
		"corrosion damage" 0.015
	description "このビーム兵器は、本来なら安定しているはずの原子核が急速に崩壊する場を作り出す。その効果は原子核の質量に反比例するらしく、重い元素よりも重水素のような同位体のほうが速く壊れていく。生じた生成物は元の原子核より高いエネルギー状態にあるため、このビームは通常の熱力学に反して標的を冷却する。"
	description "実際には、このビームは船の重水素燃料を枯らしながら、船体を成す物質そのものを崩壊させていく。"

outfit "Telescopic Antimissile"
	"display name" "テレスコピック対ミサイル"
	plural "テレスコピック対ミサイル"
	category "Turrets"
	series "Anti-Missile"
	index 05010
	cost 16000000
	thumbnail "outfit/telescopic antimissile"
	"flotsam sprite" "effect/flotsam telescopic antimissile"
	"mass" 40
	"outfit space" -40
	"weapon capacity" -40
	"flotsam chance" 0.1
	"unplunderable" 1
	"turret mounts" -1
	weapon
		"hit effect" "quarg anti-missile"
		"hardpoint sprite" "hardpoint/quarg anti missile"
		"anti-missile" 30
		"velocity" 760
		"lifetime" 1
		"reload" 15
		"firing energy" 90
	description "奇妙なことに、この対ミサイルシステムはスキャナーと望遠鏡を並べたような姿をしている。こうした観測装置の寄せ集めが武器として作られたはずはないのだが、どういうわけかこのスキャナーの光学系に膨大な電力が通され、強力な対ミサイル防御に仕立て上げられている。"
	description "大型望遠鏡を成すいくつものレンズと鏡が放たれたビームを集束させているらしく、この対ミサイルシステムは非常に射程が長い。"


# Systems:

outfit "Anomalous Shield Restorer"
	"display name" "異常シールド復元器"
	plural "異常シールド復元器"
	category "Systems"
	series "Shields"
	index 05030
	cost 22000000
	thumbnail "outfit/anomalous shield restorer"
	"flotsam sprite" "effect/flotsam anomalous shield restorer"
	"mass" 37
	"outfit space" -25
	"shield generation" 3
	"shield energy" 6
	"flotsam chance" 0.05
	"unplunderable" 1
	description "この放射器はいかなる場も検知させないが、危険が近づくたび、どこからともなくシールドが現れる。"


# Power:

outfit "Antimatter Power Cell"
	"display name" "反物質パワーセル"
	plural "反物質パワーセル"
	category "Power"
	series "Generators"
	index 05020
	cost 11000000
	thumbnail "outfit/antimatter power cell"
	"flotsam sprite" "effect/flotsam antimatter power cell"
	"mass" 34
	"outfit space" -13
	"energy generation" 2.8
	"heat generation" 4.9
	"flotsam chance" 0.05
	"unplunderable" 1
	description "この奇妙な装置は半ば有機的な代物らしく、絶えず再生を続けるスポンジ状の構造から反陽子をゆっくりと漏らし、エネルギーを取り出している。生み出される電力は、対消滅した物質と反物質の量とつり合っておらず、本来ありえないほど大きい。"


# Special

outfit "Anomalous Mass"
	"display name" "異常質量"
	plural "異常質量"
	category "Special"
	cost 800000
	thumbnail "outfit/anomalous mass"
	"flotsam sprite" "effect/flotsam anomalous mass"
	"flotsam chance" 0.4
	"mass" 2.718
	"outfit space" -4
	"heat generation" 0.4
	"drag" 0.04
	"inertia reduction" 0.01
	"unplunderable" 1
	description "アベラントの異なる機構から見つかるたびに性質が大きく異なるこのガラス質で肉質の塊は、何よりもまず組成を分類しようがないことに特徴がある。塊の中に張り巡らされた異常物質の網は、アヴギの知る原子でできた物質ではなく、まったく別の何かでできているらしく、その成り立ちを探ろうとするあらゆる試みをはね返す。ほかに説明のしようがないため、アベラントの不可解な能力の多くはこれによるものと考えられている。"
